<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        //声明提前,js运行时。先把声明的变量，几种到作用域顶部几种创建
        // alert("hello world");
        //js中一个变量如果只声明没有赋值,
        var a;
        console.log(a);
    </script>
</body>
</html>